package org.example.dao;

import org.apache.ibatis.annotations.Param;
import org.example.domain.Student;
import org.example.vo.QueryParam;

import java.util.List;


/**
 * @user:dell
 * @date:2020年10月23 15:08
 */
public interface StudentDao {
public Student selectStudentById(Integer id);
//(@Param方法传递参数
public List<Student> selectMulitParm(@Param("name") String name,@Param("age") Integer age);
//使用java对象传参
    public List<Student> selectMulityObject(QueryParam param);

    public List<Student> selectByItem(@Param("name") String name);
}
